/*
 * @Descripttion: 文件说明
 * @version: 0.0.1
 * @Author: gaojiapeng
 * @Date: 2021-01-28 14:43:47
 * @LastEditors: gaojiapeng
 * @LastEditTime: 2021-03-13 20:43:42
 */
import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [
  {
    path: "/MoHome",
    name: "PcLayout-Home",
    component: () => import("@/views/Home/Layout/MoLayout.vue")
  },
  {
    path: "/PcHome",
    name: "PcLayout-Home",
    component: () => import("@/views/Home/Layout/PcLayout.vue")
  },
  {
    path: "/",
    name: "PcLayout-Personnel",
    component: () => import("@/views/Home/Layout/PcLayout.vue")
  },
  {
    path:"/DetailViews",
    name:"/DetailViews",
    component:()=>import("@/views/Home/Components/DetailViews")
  },
  {
    path:"/DJLayout",
    name:"/DJLayout-Personnel",
    component:()=>import("@/views/Home/Layout/DJLayout.vue")
  },
];
const router = new VueRouter({
  mode: "hash",
  base: process.env.BASE_URL,
  routes
});

export default router;
